package com.lkyh.mes.codegen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName("gen_table_info")
public class GenTableInfo extends Model<GenTableInfo> {
	/**
	 * ID
	 */
	@TableId
	@ApiModelProperty(value = "ID")
	private Integer id;

	private String name;
	private String remark;
	private String databaseName;
	private Integer datasourceId;
	private String type;
	private Integer subTable;
	private Integer cond;
	private Integer subCond;
	private String print;
	private String export;
	private String tableEdit;

	@TableField(exist = false)
	private List<GenColumnInfo> genColumnInfoList;
	@TableField(exist = false)
	private List<GenPageInfo> genPageInfoList;
	@TableField(exist = false)
	private List<GenVerifyInfo> genVerifyInfoList;
	@TableField(exist = false)
	private List<GenIndexInfo> genIndexInfoList;
	@TableField(exist = false)
	private List<GenFormAction> genFormActionList;
	@TableField(exist = false)
	private GenTableInfo genSubTable;

}
